package cn.cloudplug.instar_ec.main.backups;

import android.os.Bundle;
import android.view.View;

import butterknife.OnClick;
import cn.cloudplug.instar_ec.R;
import cn.cloudplug.instar_ec.R2;
import cn.cloudplug.instar_ec.main.base.BackDelegate;

/**
 * Created by pc on 2018/2/8.
 */

public class BackupsDelegate extends BackDelegate {

    private static final String TITLE = "手动备份";
    @OnClick({R2.id.ll_album, R2.id.ll_video, R2.id.ll_record, R2.id.ll_one_key})
    void onBackups(View view){
        int id=view.getId();
        if(id==R.id.ll_album){

        }else if(id==R.id.ll_video){

        }else if(id==R.id.ll_record){

        }else if(id==R.id.ll_one_key){

        }
        new BackupsFragmentDialog().show(getFragmentManager(),"onBackups");

    }


    @Override
    protected Object setContent() {
        return R.layout.delegate_manual_backup;
    }

    @Override
    protected void onBindView(Bundle savedInstanceState, View view) {
        setTitle(TITLE);

    }
}
